using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Runtime.Serialization;

namespace KPIS.GERP.Models.BGM
{
    [Table("bgm_system_control"), DataContract]
    public class SystemControl
    {
        [Key, DatabaseGenerated(DatabaseGeneratedOption.Identity)]
        [DataMember]
        [Column("id", TypeName="int")]
        public int Id { get; set; }

        [DataMember]
        [Column("bgm_sys_control_name", TypeName="ntext")]
        public string BgmSysControlName { get; set; }

        [DataMember]
        [Column("bgm_sys_control_values", TypeName="ntext")]
        public string BgmSysControlValues { get; set; }
    }
}